/*
 *  axis_aligned_box.h
 *  Untitled
 *
 *  Created by Ben Nolan on 2/11/08.
 *  Copyright 2008 __MyCompanyName__. All rights reserved.
 *
 */

#pragma once

#include "vector.h"

namespace Wonderland{
	
	/*
	 * A rotation around an axis
	 */
	class AxisAlignedBox{

	public:
		AxisAlignedBox(Wonderland::Vector min, Wonderland::Vector max) : min_(min), max_(max){
		}

		AxisAlignedBox(){
		}
		
		bool contains(const Vector v) const{
			return (v>min_) && (v<max_);
		}

		Wonderland::Vector min_, max_;
	};
}

